package com.mengxuegu.springcloud.service;

import com.mengxuegu.springcloud.entities.Product;

import java.util.List;

/**
 * @author william
 * @create 2021-06-21 21:21
 **/
public interface ProductService {

    boolean add(Product product);

    Product get(Long id);

    List<Product> list();
}
